import {
  get,
  post,
  //postForm,
  del
} from '@/utils/http'
const packageName = `http://124.70.196.178:8081/intelligent_control_webservice_gxgy`

/**
 * 设备报告网关
 */
// 获取设备报告网关详情
export function getDeviceGateway(params) {
  return get(`${packageName}/pc/deviceGateway/getDeviceGateway`, params)
}
// 获取设备报告网关列表
export function getDeviceGatewayList(params) {
  return get(`${packageName}/pc/deviceGateway/getDeviceGatewayList`, params)
}
// 删除设备报告网关
export function delDeviceGateway(params) {
  return del(`${packageName}/pc/deviceGateway/delDeviceGateway`, params)
}
// 保存设备报告网关
export function saveDeviceGateway(params) {
  return post(`${packageName}/pc/deviceGateway/saveDeviceGateway`, params)
}
